<?if (is_array($options)):?>
<?foreach($options as $id => $option):?>
<li class="listItem" onclick="<?=$function?>(this,<?=$id?>)">
<div class="listItemTitle"><?=$option['title']?></div>
<div class="listItemDesc"><?=character_limiter($option['desc'],45,'...')?></div>
</li>
<? endforeach; ?>
<?endif;?>
